@font-face {
	font-family: "yourDictFontAwesome";
	src: url(../lib/fontawesome-webfont.ttf) format("truetype");
	font-weight: normal;
	font-style: normal;
}
*{
	box-sizing: border-box;
}
body{
	margin: 0;
}
#main{
	background-image: radial-gradient(ellipse at 50% 20%, #4dabf5 0%,#2087f4 100%);
	width: 315px;
	height: 391px;
	font-family: "微软雅黑";
	overflow: hidden;
}
#head{
	height: 43px;
	padding-top: 23px;
	margin:  0 13px 26px 13px;
	color: #c5e3fd;
	font-size: 12px;
	position: relative;
}
#head .title{
	margin-left: 5px;
}
#head .title>:first-child{
	font-weight: bold;
	font-size: 16px;
}
#head .title>:last-child{
	font-size: 14px;
	font-family: consolas;
}
#switches{
	position: absolute;
	right: -3px;
	top: 27px;
}
#switches .switch{
	border-radius: 10px;
	padding: 1px 8px;
	display: inline-block;
	cursor: pointer;
}
#switches .switch:hover{
	background-color: #49a6f8;
}
#switches .switch:active{
	background-color: #1078ed;
}
#switches .switch::before{
	content: '\f056';
	font-family: 'yourDictFontAwesome';
	font-size: 16px;
	color: #8bcfff;
	margin-right: 4px;
	position: relative;
	top:1.2px;
}
#switches .switch.active::before{
	content: '\f058';
	color: #c8e6ff;
}
#idle{
	height: 246px;
	margin: 0 13px;
	position: relative;
}
#search{
	height: 51px;
	margin: 0 13px 15px 13px;
}
#result{
	height: 231px;
	margin: 0 13px;
	background-color: white;
	border-radius: 3px;
	box-shadow: 0 0 5px 0 rgba(0,0,0,0.3);
	font-size: 12px;
	overflow: auto;
	display: none;
	position: relative;
	padding: 17px 20px 0 20px;
}
input[type=text]{
	background-color: white;
	border-radius: 3px;
	height: 51px;
	width: 100%;
	border: none;
	box-shadow: 0 0 5px 0 rgba(0,0,0,0.3);
	padding-left: 15px;
	color: #2087f4;
	font-size: 14px;
	font-family: consolas;
}
input[type=text]:focus{
	outline: none;
}
input::-webkit-input-placeholder{
	font-family: "微软雅黑";
}
input::-moz-placeholder {
	font-family: "微软雅黑";
	color: gray;
}
#result ul{
	padding: 0;
	margin-top: 0;
	margin-bottom: 12px;
}
.yourDictPhonetic{
	margin-bottom: 0px;
}
#result ul:last-child{
	margin-bottom: 17px;
}
#result li{
	list-style: none;
}
.yourDictTranslates{
	margin-top: 0!important;
}
.yourDictPhonetic li a::after{
	content: '\f027';
	font-family: 'yourDictFontAwesome';
	font-size: 16px;	
	color: rgb(68, 143, 230);
	position: relative;
	top: 2px;
	left: 12px;
	cursor: pointer;
}
.yourDictPhonetic li a:hover::after{
	content: '\f028';
	color: rgb(109, 176, 255);
}
#logo{
	width: 82px;
	height: 72px;
	position: absolute;
	top: 75px;
	left: 106px;
	background-image: url(../img/search-icon.png);
	background-repeat: no-repeat;
	background-position: center;
	z-index: 10;
}
.light{
	width: 250px;
	height: 250px;
	position: absolute;
	top: -16px;
	left: 17px;
	z-index: 1;
	background-image: radial-gradient(ellipse 50% 50% at center, rgba(255, 255, 255, 0) 0%,rgba(255, 255, 255, 1) 99%,rgba(255,255,255,0) 100%);
	background-size: 0;
	background-position: center;
	background-repeat: no-repeat;
	-webkit-animation-timing-function: linear;
	-webkit-animation: light 8s;
	-webkit-animation-iteration-count: infinite;
	animation-timing-function: linear;
	animation: light 8s;
	animation-iteration-count: infinite;
}
.light:nth-child(2){
	-webkit-animation-delay: 2s;
	animation-delay: 1s;
}
.light:nth-child(3){
	-webkit-animation-delay: 4s;
	animation-delay: 2s;

}		
.light:nth-child(4){
	-webkit-animation-delay: 6s;
	animation-delay: 3s;
}
@-webkit-keyframes light{
	from {
		background-size: 0 0;
		opacity: 0.3;
	}
	to {
		background-size: 250px 250px;
		opacity: 0;
	}
}
@keyframes light{
	from {
		background-size: 50px 50px;
		opacity: 0.2;
	}
	to {
		background-size: 250px 250px;
		opacity: 0;
	}
}
::-webkit-scrollbar
{
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track-piece
{
    background-color: #CCCCCC;
    border-radius: 6px;
}
::-webkit-scrollbar-thumb:vertical
{
    height: 5px;
    background-color: #999999;
   border-radius: 6px;
}
::-webkit-scrollbar-thumb:horizontal
{
    width: 5px;
    background-color: #CCCCCC;
    border-radius: 6px;
}